Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cast to string when calling rawurlencode() within Wildcard router #24

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

gkralik
Copy link
Contributor

@gkralik gkralik commented Dec 11, 2020

Q A
Documentation no
Bugfix yes
BC Break yes
New Feature no
RFC no
QA no

Description

The Wildcard router was not casting values to string when calling rawurlencode() during route asembly, leading to a TypeError.

This patch adds an explicit cast when calling the function.

Fixes #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wildcard: TypeError: rawurlencode() expects parameter 1 to be string, int given
2 participants